package com.example.demo1;

public class Student {
    private String studentName;
    private String age;
    private String phoneNumber;

    public Student() {
    }

    public Student(String studentName, String age, String phoneNumber) {
        this.studentName = studentName;
        this.age = age;
        this.phoneNumber = phoneNumber;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
    public void show(){
        System.out.println(studentName+","+age+","+phoneNumber);
    }
}
